#!/usr/bin/python
# -*- coding:utf-8 -*-
# @FileName : python_test6_3.py
# Author    : myh

# 练习 6.3：词汇表 1　Python 字典可用于模拟现实生活中的字典。为避
# 免混淆，我们将后者称为词汇表。
p_num = {'and': '逻辑与',
         'or': '逻辑或',
         'in': '包含',
         'lower': '小写',
         'upper': '大写'}

print(f'and is {p_num["and"]}')
print(f'or is {p_num["or"]}')
print(f'in is {p_num["in"]}')
print(f'lower is {p_num["lower"]}')
print(f'upper is {p_num["upper"]}')


